package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysStudentBenefitExchange;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysStudentBenefitExchangeMapper {
    // 新增兑换记录
    int insertExchangeRecord(SysStudentBenefitExchange exchange);

    // 查询用户兑换历史
    List<SysStudentBenefitExchange> selectExchangeByUserId(Long userId);
}